<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>健康证查询</title>
    <style>
        *{
            mairign:0;
            padding: 0;
        }
        td{
            padding: 8px;
        }
    </style>
</head>
<body style="font-family: 'Microsoft YaHei UI';">
        
        <div style="width: 100% ;background: -webkit-linear-gradient(top,#B7E1FF,#ffffff) ;padding-top: 50px">
            <div style="margin-left: 15%;width: 70% ;">
                <div style="display: flex ;justify-content: center ">
                    <h2 style="">沈阳市</h2>
                    <h3>从业人员<br>
                        健康体检</h3>
                    <h2>合格证明</h2>
                </div>
                <div style="display: flex;justify-content: center;width: 100%;margin-top: 10px">
                    <img th:src="@{${url}}" alt="" style="align-content: center; width: 150px; height: 200px;display: block;">
                </div>
                <div style="display: flex;justify-content: center;font-size: 20px;margin-top: 10px">
                    <table style="width:75% ;  margin-top: 20px;">
                        <tr>
                            <td style="color: #2F81BD ;"><strong>姓名：</strong></td>
                            <td><strong th:text="${name}"></strong></td>
                            <td style="color: #2F81BD"><strong>性别：</strong></td>
                            <td><strong th:text="${sex}"></strong></td>
                        </tr>
                        <tr>
                            <td style="color: #2F81BD"><strong>年龄：</strong></td>
                            <td><strong th:text="${age}"></strong></td>
                            <td style="color: #2F81BD"><strong>健康证号：</strong></td>
                            <td><strong th:text="${serialNumber}"></strong></td>
                        </tr>
                        <tr>
                            <td style="color: #2F81BD"><strong>行业：</strong></td>
                            <td ><strong th:text="${industry}"></strong></td>
                            <td style="color: #2F81BD"><strong>单位：</strong></td>
                            <td><strong th:text="${company}"></strong></td>
                        </tr>
                        <tr>
                            <td style="color: #2F81BD"><strong>有效期：</strong></td>
                            <td colspan="3"><strong th:text="${date}"></strong></td>
                        </tr>
                    </table>

                </div>
                    <p style="color:#A52A2A;width: 100% ;text-align: center; font-size: 20px ;margin-top: 30px"><strong>制证单位：沈阳沈北鑫普济医院</strong></p>
            </div>
        </div>

</body>
</html>